import request from '@/utils/request'
// 登录功能

export const loginService = (userForm) => {
  return request.post('/api/login', {
    ...userForm
  })
}

// 注册功能
export const registerService = (userForm) => {
  return request.post('/api/reg', {
    ...userForm
  })
}
